package com.atguigu.jxc.dao;

import com.atguigu.jxc.entity.Customer;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface  CustomerDao {
    List<Customer> list(@Param("offSet") int offSet,@Param("rows") Integer rows,@Param("customerName") String customerName);

    void save(Customer customer);

    void update(Customer customer);

    void delete(String ids);
}
